Skip to content

v8.5.7: document CPU-aware hot region scheduling (#23140)#23209

Merged
ti-chi-bot[bot] merged 15 commits into
pingcap:feature/preview-v8.5.7from
ti-chi-bot:cherry-pick-23140-to-release-8.5
Jul 6, 2026
Merged

v8.5.7: document CPU-aware hot region scheduling (#23140)#23209
ti-chi-bot[bot] merged 15 commits into
pingcap:feature/preview-v8.5.7from
ti-chi-bot:cherry-pick-23140-to-release-8.5

Conversation

@ti-chi-bot

Copy link
Copy Markdown
Member

This is an automated cherry-pick of #23140

What is changed, added or deleted? (Required)

Document CPU-aware Hot Region scheduling for read hotspots introduced in v8.5.7:

  • Add flow_cpu and cpu-read-rate output descriptions for pd-ctl hot.
  • Add min-hot-cpu-rate, cpu-rate-rank-step-ratio, and CPU-aware read-priorities behavior for balance-hot-region-scheduler.
  • Add troubleshooting guidance for CPU-aware read hotspot scheduling.
  • Add the Store read cpu panel description in the PD Grafana dashboard doc.

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v8.5 (TiDB 8.5 versions)

Need cherry-pick to release-8.5 because the feature is requested for v8.5.7.

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Add a release note
  • Add or modify documentation for a feature

Which TiDB components does this PR affect?

  • TiDB
  • PD
  • TiKV

How do you ensure that your changes are correct? (Required)

  • Checked local /home/lhy1024/pd and /home/lhy1024/tikv implementation for fields, defaults, and version fallback behavior.
  • Ran ./scripts/markdownlint pd-control.md troubleshoot-hot-spot-issues.md grafana-pd-dashboard.md.
  • Ran git diff --check.

@ti-chi-bot ti-chi-bot added area/scheduling Indicates that the Issue or PR belongs to the area of scheduling. lgtm size/M Denotes a PR that changes 30-99 lines, ignoring generated files. type/cherry-pick-for-release-8.5 This PR is cherry-picked to release-8.5 from a source PR. v9.0-beta.3 This PR/issue applies to TiDB v9.0-beta.3. labels Jul 6, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the documentation across several files (grafana-pd-dashboard.md, pd-control.md, and troubleshoot-hot-spot-issues.md) to describe the new CPU-aware hot Region scheduling feature introduced in v8.5.7 and v9.0.0. The review feedback suggests minor improvements to align with the style guide, such as capitalizing 'cpu' to 'CPU' in metric names and rewriting passive voice sentences to active voice using the second person ('you') for better clarity.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread grafana-pd-dashboard.md Outdated
Comment thread pd-control.md
Comment thread pd-control.md
@qiancai qiancai changed the title master: document CPU-aware hot region scheduling (#23140) v8.5.7: document CPU-aware hot region scheduling (#23140) Jul 6, 2026
@qiancai qiancai changed the base branch from release-8.5 to feature/preview-v8.5.7 July 6, 2026 09:49
@qiancai qiancai assigned qiancai and unassigned lhy1024 Jul 6, 2026
@qiancai

qiancai commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

/approve

@ti-chi-bot

ti-chi-bot Bot commented Jul 6, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added the approved label Jul 6, 2026
@ti-chi-bot ti-chi-bot Bot merged commit c1c8003 into pingcap:feature/preview-v8.5.7 Jul 6, 2026
11 checks passed
@ti-chi-bot ti-chi-bot Bot deleted the cherry-pick-23140-to-release-8.5 branch July 6, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/scheduling Indicates that the Issue or PR belongs to the area of scheduling. lgtm size/M Denotes a PR that changes 30-99 lines, ignoring generated files. type/cherry-pick-for-release-8.5 This PR is cherry-picked to release-8.5 from a source PR. v9.0-beta.3 This PR/issue applies to TiDB v9.0-beta.3.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants